<template>
	<view>
		<view class="control_panel_upper">
			<view class="connection_info_div">{{currentDevName}}({{currentConnectionState}})</view>
		</view>

		<view class="printPart">
			<scroll-view scroll-y="true" style="height: 100%;" :scroll-top="scrollTop">
				<view class='print-btn' @click='printBtn(cpclIndex)'>{{cpcl}}</view>
				<!-- <view class='print-btn ' @click='printBtn(tsplIndex)'>{{tspl}}</view> -->
				<!-- <view class='print-btn ' @click='printBtn(escIndex)'>{{esc}}</view> -->
			</scroll-view>
		</view>

		<!-- <view class="RecvStatus">
			<view class="recv_total_bytes">
				接收:{{recvTotalBytes}}字节
			</view>
			<button class="clear_button" @click="bindButtonClearAll">清除</button>
		</view>

		<view class="container_recv">
			<scroll-view scroll-y="true" style="height: 100%; " :scroll-top="scrollTop">
				<view style="height: 200px;">
					{{ recv_data }}
				</view>
			</scroll-view>
		</view> -->
	</view>
</template>

<script>
	import Print from './print.js'
	export default {
		mixins: [Print]
	}
</script>

<style lang="scss">
	@import url('./print.scss')
</style>
